<style>
    body{
        background-color: #f9f9f9;
    }
    .xh-form .btn{
        margin-right: 0px;
    }
    .textbox-text .textbox-prompt{
        color: white;
    }
    .form-control[readonly]{
        background-color: white;
    }
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    .fa{
        margin-top: 3px;
    }
    .tree-file{
        clear: both;
        background: none;
    }
    .combo{
        border-radius:4px
    }
    .xh-form tr>td>label {
        float: right;
        margin-right: 10px;
    }
    .fa-manager-color{
        color:#0066cc;
    }

</style>
<script>
</script>
<form id="xh_form" class="xh-form" method="post" enctype="multipart/form-data" style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%">
              <tr>
                        <td><label>名称</label></td>
                        <td> <input type="text"  name="sName" must="true"  value="<?php echo $info ? $info['sName'] : '';?>"  maxlength="8"></td>
            </tr>
            <tr>
                 <td><label>是否默认</label></td>
                    <td>
                        <select name="iIsDefault" <?php echo $info['iId'] ? "disabled" : '' ?>>
                            <option value="1" <?php echo $info['iIsDefault'] == 1 ? "selected" : '' ?>>是</option>
                            <option value="2" <?php echo $info['iIsDefault'] == 2 ? "selected" : '' ?>>否</option>
                        </select>
                    </td>
            </tr>

            <tr id='user'>
              <td style="width: 75px;"><label>权限标签</label></td>
                 <td> <input type="text"  name="sPowerTag" must="false" value="{{ info['sPowerTag'] }}"></td>
            </tr>
            <tr>
                <td><label>链接地址</label></td>
                <td colspan="3"> <input type="text"  name="sUrl" must="true" value="{{ info['sUrl'] }}"></td>
            </tr>

            <tr>
                <td><label>获取方式</label></td>
                <td>
                    <select name="sGetMethod">
                            <option value="ajax" <?php echo $info['sGetMethod'] == 'ajax' ? "selected" : '' ?>>ajax</option>
                            <option value="iframe" <?php echo $info['sGetMethod'] == 'iframe' ? "selected" : '' ?>>iframe</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td><label>所属模块</label></td>
                <td> <input type="text"  name="sModel" must="true" value="{{ info['sModel'] }}"></td>
            </tr>
        </table>
    </div>
</form>
